<?php

class Funcs extends Module
{
    function __construct()
    {
    }
    
    function display()
    {
        $obj = Preload::getInstance();
        $modules = $obj->getTools();
        parent::smartyOut( 'funcs', array( 'data' => $modules ) );
    }
    
    function tools()
    {
        $obj = Preload::getInstance();
        $modules = $obj->getTools();        
        echo json_encode( $modules );
    }
}